﻿@namespace MudBlazor.UnitTests.TestComponents

<MudText>SelectedItems { @string.Join(", ", selectedItems) }</MudText>
<MudTable Items="items" @bind-SelectedItems="selectedItems" MultiSelection="true">
    @*<HeaderContent>
        <MudTh>#</MudTh>
    </HeaderContent>*@
    <RowTemplate>
        <MudTd>@context</MudTd>
    </RowTemplate>
</MudTable>

@code {
    public static string __description__ = "the selected items (check-box click or row click) should be represented in SelectedItems.";

    int[] items = new int[]{0,1,2};
    HashSet<int> selectedItems=new HashSet<int>();
}
